import { TOKEN, ISCLOSEAPPLYTEACHERSUCCESS } from '@/common/const';
import storage from '@/utils/storage';
import { useEffect } from 'react';

export default () => {
  useEffect(() => {
    storage.remove(ISCLOSEAPPLYTEACHERSUCCESS);
    storage.remove(TOKEN);
    console.log('清除token成功');
  }, []);

  return null;
};
